package com.wgchao.authodemo.infrastructure.exception;

import lombok.Data;

/**
 * @ClassName: ParamNotLegalexception
 * @author: wgchao
 * @createTime: 2019/12/10 4:47 PM
 * @Description: 合法性异常
 */
@Data
public class ParamNotLegalexception extends RuntimeException {
    private String msg;
    private Integer code = 2001;

    public ParamNotLegalexception(String message) {
        super(message);
        this.msg = message;
    }
}
